package com.yuanfeng.job.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuanfeng.job.dto.CategoryMonthlySalesDTO;
import com.yuanfeng.job.entity.JobStatisticsCatEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Entity com.yuanfeng.job.entity.JobStatisticsCatEntity
 */
@Mapper
public interface JobStatisticsCatMapper extends BaseMapper<JobStatisticsCatEntity> {

    /**
     * 查询月份真实交易
     * @param param
     * @return
     */
    List<CategoryMonthlySalesDTO> queryCatTurnoverReal(CategoryMonthlySalesDTO param);

    /**
     * 查询月份自身交易
     * @param param
     * @return
     */
    List<CategoryMonthlySalesDTO> queryCatTurnoverSelf(CategoryMonthlySalesDTO param);
}




